package com.RLFZ.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (hesuan)实体类
 *
 * @author zh
 * @since 2022-08-25 17:16:58
 * @description 
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("hesuan")
public class Hesuan extends Model<Hesuan> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
	private Integer id;
    /**
     * name
     */
    private String name;
    /**
     * age
     */
    private Integer age;
    /**
     * phone
     */
    private String phone;
    /**
     * card
     */
    private String card;
    /**
     * type
     */
    private String type; //混检 单检[咽喉，鼻子]
    /**
     * result
     */
    private String result;
    /**
     * createTime
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime; // 检查时间
    /**
     * updateTime
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime; // 报告时间 //

}